package com.yozinga;

import android.os.Bundle;
import android.support.v4.app.FragmentTransaction;
import android.view.View;
import android.widget.TextView;

import com.yozinga.fragment.RedeemedFrament;

public class Redeemed extends BaseActivity{

	@Override
	protected void onCreate(Bundle arg0) {
		super.onCreate(arg0);
		setContentView(R.layout.activity_favorites);
		((TextView) findViewById(R.id.tvTotalSavings1)).setVisibility(View.VISIBLE);
		((TextView) findViewById(R.id.textBox)).setVisibility(View.VISIBLE);
		((TextView) findViewById(R.id.screenName)).setText("Redeemed");
		RedeemedFrament merchantInfoFragment = new RedeemedFrament();
		merchantInfoFragment.setArguments(getIntent().getExtras());
		FragmentTransaction transaction = getSupportFragmentManager().beginTransaction();
		transaction.replace(R.id.flFragmentHolder, merchantInfoFragment);
		transaction.commit();
	}
}
